﻿using System;
using System.Collections.Generic;
using System.ServiceModel; 
namespace NetDon.OA.Interface
{
    [ServiceContract]
    public interface IDictionaryManageService
    {
        #region Dictionary Entry Management
        [OperationContract]
        
        IEnumerable<DictionaryCategory> GetCategories();

        [OperationContract]

        DictionaryData AddEntry(int type, string name);

        [OperationContract]
        
        Boolean ModifyEntry(DictionaryData entry);

        [OperationContract]

        Boolean MoveUpEntry(int type, int value);

        [OperationContract]

        Boolean MoveDownEntry(int type, int value);

        [OperationContract]

        Boolean RemoveEntry(int type, int value);
        #endregion
    }
}
